<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>练习</title>
    <style>
        #d1,#d2{color: blue}
        h1{background-color: yellow}
        input[type='text']{background-color: red}
        #d3{color: palevioletred}
        *{border: 1px solid green}
    </style>
</head>
<body>
<ul>
    <li style="color: green">张学友</li>
    <li id="d1">郭富城</li>
    <li id="d2">刘德华</li>
</ul>
<h1>悟空</h1>
<h1>八戒</h1>
<h1>唐僧</h1>
<h2>刘备</h2>
<input type="text" value="提交">
<input id="d3" type="button" value="按钮">
</body>
</html>